package com.linux.huhx.utils;

import java.util.List;

/**
 * Created by huhx on 2017-06-16.
 */
public class ToolUtils {

    // 将String的list转换成String的数组
    public static String[] transListInfoArrays(List<String> list) {
        String[] arrays = new String[list.size()];
        list.toArray(arrays);
//        for (int i = 0; i < length; i++) {
//            arrays[i] = list.get(i);
//        }
        return arrays;
    }
}
